package com.wzy.controller;

import com.crpc.core.CrpcBootStrap;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController("/")
public class TestController {
    @PostMapping("/test")
    public String test() {
        System.out.println(CrpcBootStrap.getInstance().getConfiguration());
        return CrpcBootStrap.getInstance().getConfiguration().toString();
    }
}
